package office.service.hr;

import java.util.List;

import office.action.hr.form.BecomeRegularForm;
import platform.common.exception.BusinessException;

public interface IBecomeRegularService {
	
	/**
	 * 获取转正申请列表
	 * @return
	 * @throws BusinessException
	 */
	public List appointmentRegisterList(BecomeRegularForm objctForm) throws BusinessException;

	/**
	 * 编辑转正申请
	 * @throws BusinessException
	 */
	public void editBecomeRegular(BecomeRegularForm objctForm)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public BecomeRegularForm getByUserId(String userId)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public BecomeRegularForm getById(String userId)throws BusinessException;
	/**
	 * 根据id删除对象
	 * @param id
	 * @throws BusinessException
	 */
	public void deleteById(String id)throws BusinessException;
	/**
	 * 提交审批
	 * @param id
	 * @throws BusinessException
	 */
	public void submitCheck(String id) throws BusinessException;
	
	/**
	 * 
	 * @param check 审批是否为通过
	 * @param id
	 * @throws BusinessException
	 */
	public void checkData(boolean check,String id)throws BusinessException;
}
